#define _CRT_SECURE_NO_WARNINGS
#define MIN_PER_HOU 60
#include<stdio.h>
int main(void) {
	int minutes, hours, mins;
	printf("enter the number of minutes:");
	scanf("%d", &minutes);
	while (minutes > 0) {
		hours = minutes / MIN_PER_HOU;
		mins = minutes % MIN_PER_HOU;
		printf("%d minutes is %d hours,%d mins\n",minutes,hours,mins);
		printf("enter the next value:");
		scanf("%d", &minutes);
	}
	return 0;
}